
Ext.define("PrjAPLean.view.bcd.poapplylist.AutoSection",{
    extend: "Ext.panel.Panel",

    requires: [
        "PrjAPLean.view.bcd.poapplylist.AutoSectionController",
        "PrjAPLean.view.bcd.poapplylist.AutoSectionModel"
    ],

    controller: "bcd-poapplylist-autosection",
    viewModel: {
        type: "bcd-poapplylist-autosection"
    },
    title: "PA明细",
    titleAlign: "center",
    layout: {
        type: "table",
        columns: 6,
        tableAttrs: {
            style: {
                width: '100%'
            }
        }
    },
    items: [{
        xtype: "label",
        flex: 1,
        text: "PA No."
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paNo",
        bind: "{paRegion}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Name"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paName",
        bind: "{paCategory}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Owner"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paOwner",
        bind: "{paRegionFunctionTeam}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Budget"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "projectBudget",
        bind: "{paActivityGroup}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Applicant"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paApplicant",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "KPI"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "kpi",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "From"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "from",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "To"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "to",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Available"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "Available",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Objective"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "projectObjective",
        bind: "{paProjectBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Description"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "projectDescription",
        bind: "{paProjectBudget}"
    }]
    
});
